.global _start
.section .text

_start:

mov $0x1, %rsi

loop: # do {

# write (stdout, "Hello World\n", 13)

mov $0x4, %eax
mov $0x1, %ebx
lea (message), %ecx
mov $13, %edx

int $0x80

add $0x1, %rsi
cmp $0x5, %rsi

jbe loop # while(i<=5)

#exit
mov $0x1, %eax
mov $0x0, %ebx
int $0x80

.section .data
message: 
.ascii "Hello World\n"
